package test.report;

import org.apache.log4j.Logger;

/**
 * @author suwy
 * @date 2014-3-7
 * @todo TODO 交换数组内数字的顺序
 */
public class ChangeNumSeq {

	private final static Logger LOG = Logger.getLogger(ChangeNumSeq.class);
	
	private static int[] a_arr = {1,2,3,4,5,6,7,8,9,10};
	
	private void Descending() {
		int length = a_arr.length;
		int[] b_arr = new int[length];
		for(int i = 0; i < a_arr.length; i++) {
			b_arr[i] = a_arr[length -1 -i];
			LOG.info(b_arr[i]);
		}
	}
	
	public static void main(String[] args) {
		ChangeNumSeq changeNumSeq = new ChangeNumSeq();
		changeNumSeq.Descending();
	}

}
